package com.jt.Demo01;
/**定义接口并没有解决松耦合的本质,引出Spring*/
public class User {
    private static Pet pet = new Dog();
    public static void main(String[] args) {
//        Pet pet = new Dog();
        pet.hello();

    }
}
